<div class="ti">
  <div class="item_label">
		<h4>	
		<% if event.has_end? -%>
			<%= link_to event.title + ' (活动已结束)', event_path(event) %>
		<% else %>
			<%= link_to event.title + ' (人员招募中)', event_path(event) %>
		<% end %>
		</h4>
	</div>
  <div class="tp"><%= image_tag(event.pic.public_filename(:thumb)) if event.pic %></div>
  <div class="tc">
    <span class="tip">时间：</span><%= show_datetime event.start_at, false %> <span class="tip">至</span> <%= show_datetime event.end_at, false %><br />
    <span class="tip">地点：</span><%= h event.location %><br />
    <span class="tip"><%= link_to event.submitor.login, user_path(event.submitor.id) %> 发起，<%= event.participators.count %> 参加，<%= event.comments.count %> 条留言</span>
  </div>
</div>
<div class="clear"></div>